package com.itlong.cloud.POJO.DTO.sdk;

import com.itlong.cloud.POJO.DTO.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *     人脸识别api入参DTO类
 * </desc>
 *
 * @createDate 2019/11/04
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CloudFaceApiDTO extends BaseDTO implements Serializable {

    private String token;       //通行标识
    private String userId;       //用户编号
    private String projectId;       //项目编号
    private String phoneNum;      //手机号
    private String realName;          //姓名
    private Integer gender;        //性别：1男 0女
    private String buildId;     //楼栋Id
    private String unitId;      //单元Id
    private String roomId;      //房间Id
    private String roomNum;     //房间号
    private int houserType;     //住户身份：1业主本人 2亲属 3租客
    private String imageStr;      //用户照片
    private int deviceType;     //设备类型：1云对讲 2平板 3电梯 4门禁
    private String title;       //标题
    private String deviceName;   // 设备名称
    private Integer status;             //状态：0删除 1正常 2禁用
    private Integer publishStatus;      // 发布状态 0-已过期 1-已发布 2-未发布
    private Integer type;                  //类型(1-文字 2-图片 3-视频)
    private String requestId;   //请求编号
    String responseTimestamp; //返回时间戳
    private String appSecret; //开发者密码


    @Override
    public String toString() {
        return "CloudFaceApiDTO{" +
                "token='" + token + '\'' +
                ", userId='" + userId + '\'' +
                ", projectId='" + projectId + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", realName='" + realName + '\'' +
                ", gender=" + gender +
                ", buildId='" + buildId + '\'' +
                ", unitId='" + unitId + '\'' +
                ", roomId='" + roomId + '\'' +
                ", roomNum='" + roomNum + '\'' +
                ", houserType=" + houserType +
                ", deviceType=" + deviceType +
                ", title='" + title + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", status=" + status +
                ", publishStatus=" + publishStatus +
                ", type=" + type +
                ", requestId='" + requestId + '\'' +
                ", responseTimestamp='" + responseTimestamp + '\'' +
                ", appSecret='" + appSecret + '\'' +
                '}';
    }

}
